package com.ykdl.member.kid.beans;

import java.io.Serializable;
import java.util.ArrayList;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;

import net.wxxr.http.interfaces.IJsonParser;

public class AdvertListBean implements Serializable,IJsonParser{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private ArrayList<AdvertBean>  discovery_top_ad;
	public ArrayList<AdvertBean> getDiscovery_top_ad() {
		return discovery_top_ad;
	}
	@Override
	public IJsonParser parse(String json) throws Exception {
		// TODO Auto-generated method stub
		Gson   gson = null;
		if(null != json){
			GsonBuilder b = new GsonBuilder();
			gson  = b.create();
			return gson.fromJson(json, AdvertListBean.class);
		}
		return null;
	}

}
